
-----------------------------------------------
--  战斗统计每项对应的积分计算
-- @param  user     玩家
-- @param  id       统计项id
-- @param  progress 进度
return function(user, id, progress)
    local args = CombatStatM.query(id, "args");
    local rate = args.rate or 0;
    local score =  math.modf(progress * rate / 10);
    
    -- 增强score天赋影响，积分先削减为0.8
    score = math.modf(score * 0.8);
    local prop = PropM.combine(user, "score", 1);
    score = PropM.apply(prop, score);
    
    return score;
end
